package io.renren.dao;

import io.renren.entity.RefundEntity;
import io.renren.entity.SocialSecurityPayDetailEntity;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 交退款
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-08-05 18:20:49
 */
public interface RefundDao extends BaseDao<RefundEntity> {

    List<SocialSecurityPayDetailEntity> getInComeInfo(Map<String, Object> map);

    List<SocialSecurityPayDetailEntity> getPaymentInfo(Map<String, Object> map);

    List<SocialSecurityPayDetailEntity> getInComeInfoByContract(Map<String, Object> map);

    int getNormalRecordCount(Map<String, Object> map);
    int getRefundRecordCount(Map<String, Object> map);
	HashMap<String, Object> getRefundInfoByDSId(String id);
}
